package org.indi.graduatemanagement.entity;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;


/**
 * <p>
 *
 * </p>
 *
 * @author zcl
 * @since 2021-04-24
 */
@Data
@TableName("archives")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Archives implements Serializable {

    private static final long serialVersionUID = 1L;

    public Archives() {
    }

    private String archivesPlace;

    @TableField("archives_stuName")
    @NotBlank(message = "学生姓名不能为空")
    private String archivesStuName;

    @TableId("archives_stuID")
    @NotBlank(message = "学号不能为空")
    private String archivesStuId;

    @TableField("archives_zipCode")
    private String archivesZipcode;

    private String archivesId;

}
